﻿@{Layout = null;}

<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>泓源国际会员登录</title>
    <link href="~/App_Themes/login/main.css" rel="stylesheet" />
    <script src="~/Scripts/jquery-1.7.1.min.js"></script>
    <script src="~/Scripts/UserLogin.js"></script>

    <link href="~/Content/window/window.css" rel="stylesheet" />
    <script src="~/Content/window/window.js"></script>
</head>
<body class="bodywbg" >
    <div class="header" style="background:none repeat scroll 0 0 #f2f2f2">
        @*<div class="container">
            <a href="index.htm" class="fl logo"></a>
            <div class="fr">
                <a href="index.htm">首页</a>
                <a href="#link1">集团简介</a>
                <a href="#link2">企业文化</a>
                <a href="#link3">集团战略</a>
                <a href="#link4">集团业务</a>
                <a href="2.htm">房产信息</a>
                <a href="/Login">会员登录</a>
            </div>
            <div class="clear"></div>
        </div>*@
    </div>

    <div class="container">
        <!-- 会员登录 -->
        <div class="login-wtop">
            <div class="login-con">
                <div>
                    <img src="~/Image/login_t.png" />
                </div>
                <div class="login-wrap-po">
                    <div class="login-logo">
                        <img src="~/Image/logo.png" />
                    </div>
                    <form class="form-horizontal">
                        <div class="login-wrap-tx">
                            <ul class="login-lrw">
                                <li><span><img src="~/Image/icon2.jpg" /></span>
                                    <input type="text" id="Account" name="Account" placeholder="请输入账号" value="" class="login-up">
                                </li>
                                <li><span>
                                    <img src="~/Image/icon3.jpg" /></span>
                                    <input type="text" id="Password_txt" name="Password_txt" value="" class="login-ap" placeholder="请输入密码">
                                    <input type="password" id="Password" name="Password" value="" class="login-ap" style="display:none;">
                                </li>
                                <li style=" vertical-align: middle;"><span>
                                    <img src="~/Image/icon4.jpg" /></span>
                                    <input type="text" id="ValidCode" placeholder="验证码" name="ValidCode" class="login-cd">
                                    <img alt="" src="/login/validcode" style="height: 30px; margin-left: 10px; cursor: pointer;vertical-align: middle;" onclick="$(this).attr('src','/login/validcode?' +  Math.random())">
                                </li>
                            </ul>
                        </div>
                    </form>
                    <div class="message"></div>
                    <div class="linear"></div>
                    <div class="login-sbtn-w">
                        <input type="button" class="login-sbtn" onclick="login()" value="登录" />
                    </div>

                </div>
            </div>
        </div>
        <!-- end 会员登录 -->
    </div>

    <div class="out out_home">
        <div class="m">
            <div class="clear"></div>
        </div>
    </div>
    <div class="copy">
        Copyright &copy; 2013-2014 <span>泓源国际集团控股有限公司</span> All Internet 
    </div>
</body>
<script type="text/javascript">   
    if (!('placeholder' in document.createElement('input'))) {
        $('input[placeholder],textarea[placeholder]').each(function () {
            var that = $(this),
             text = that.attr('placeholder');
            if (that.val() === "") {
                that.val(text).addClass('placeholder');
            }
            that.focus(function () {
                if (that.val() === text) {
                    that.val("").removeClass('placeholder');
                }
            })
            .blur(function () {
                if (that.val() === "") {
                    that.val(text).addClass('placeholder');
                }
            })
            .closest('form').submit(function () {
                if (that.val() === text) {
                    that.val('');
                }
            });
        });
    }
    var pwd = document.getElementById("Password");
    var pwd_text = document.getElementById("Password_txt");

    pwd_text.onfocus = function () {
        pwd.style.display = "inline";
        pwd_text.style.display = "none";
        pwd.focus();

    }

    pwd.onblur = function () {
        if (pwd.value == null || pwd.value == "" || pwd.value == "请输入密码") {
            pwd.style.display = "none";
            pwd_text.style.display = "inline";
        }
    }
</script>  
</html>


